<template>
  <div class="header">
    <router-link to="/">
      <div class="header-left">
        <div class="iconfont back-icon">&#xe624;</div>
      </div>
    </router-link>
    <div class="header-title">城市选择</div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl';
  .header
    overflow: hidden
    background: $bgColor
    color: #fff
    height: $headerHeight
    font-size: .32rem
    display: flex
    .header-left
      width: .8rem
      float: left
      .back-icon
        text-align: center
        font-size: .4rem
        color: #fff
        line-height: $headerHeight
    .header-title
      flex: 1
      text-align: center
      line-height: $headerHeight
    .header-title::after
      content: ''
      float: right
      height: 100%
      width: .8rem
</style>
